package com.aptech.yuanhuabao.api.soap.request;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.NamespaceList;
import org.simpleframework.xml.Root;

/**
 * des:
 * Created by zhh_li
 * on 2017/1/18.
 */


@Root(name = "soapenv:Envelope")
@NamespaceList({
        @Namespace(reference = "http://www.w3.org/2001/XMLSchema-instance", prefix = "xsi"),
        @Namespace(reference = "http://www.w3.org/2001/XMLSchema", prefix = "xsd"),
        @Namespace(reference = "http://schemas.xmlsoap.org/soap/encoding/", prefix = "enc"),
        @Namespace(reference = "http://schemas.xmlsoap.org/soap/envelope/", prefix = "soapenv"),
        @Namespace(reference = "http://mobile.webservice.ipc.net2com.com/", prefix = "mob")
})
public class LoginRequestEnvelope {
    @Element(name = "soapenv:Body", required = false)
    private LoginRequestBody mloginRequestBody;

    @Element(name = "soapenv:Header", required = false)
    public String aHeader = "";

    public void setloginRequestBody(LoginRequestBody loginRequestBody) {
        mloginRequestBody = loginRequestBody;
    }

    public LoginRequestEnvelope(LoginRequestBody mloginRequestBody) {
        this.mloginRequestBody = mloginRequestBody;
    }
}

/**
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
				   xmlns:mob="http://mobile.webservice.ipc.net2com.com/">
	<soapenv:Header/>
	<soapenv:Body>
		<mob:checkSLogon>
			<phone>950138006447</phone>
			<sign>95E4D797733B64D5683DA21AD960B752</sign>
		</mob:checkSLogon>
	</soapenv:Body>
 </soapenv:Envelope>
 *
 */
